package com.vrv.app.cyberspace.modules.sys.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.vrv.app.cyberspace.modules.sys.entity.BaseTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sm
 * @since 2017-12-15
 */
@Mapper
public interface BaseTableMapper extends BaseMapper<BaseTable> {

    List<BaseTable> selectLeftJoinEventPage(Page page, @Param("ew") EntityWrapper<BaseTable> ew);

    List<BaseTable> selectLeftJoinRiskPage(Page page, @Param("ew") EntityWrapper<BaseTable> ew);

    List<BaseTable> selectDynamicInformationList(Page page, @Param("ew") EntityWrapper<BaseTable> updateTime);

    List<BaseTable> selectListHistory(Page page, @Param("ew") EntityWrapper<BaseTable> ew);
}
